package com.wg.dome.operation;


import com.wg.core.lang.MemberParams;
import com.wg.core.annotation.DataMember;
import com.wg.net.rpc.AbstractDataContract;
import com.wg.core.lang.HashTable;

import java.util.HashMap;

/**
 * 获取玩家基础信息响应
 */
public class GetPlayerInfoResponse extends AbstractDataContract{

    @DataMember(code = 1)
    private String playerName;

    @DataMember(code = 2)
    private long playerPower;

    @DataMember(code = 3)
    private long playerGold;

    @DataMember(code = 4)
    private long playerMoney;

    @DataMember(code = 5)
    private HashTable[] fighAttribute;

    @DataMember(code = 6)
    private long freeRecruitTime;

    @DataMember(code = 7)
    private int surplus;

    public GetPlayerInfoResponse() {
    }

    public GetPlayerInfoResponse(MemberParams dataMembers) {
        super(dataMembers);
    }

    public String getPlayerName() {
        return playerName;
    }


    public void setPlayerName(String playerName) {
        this.playerName = playerName;
    }

    public long getPlayerPower() {
        return playerPower;
    }

    public void setPlayerPower(long playerPower) {
        this.playerPower = playerPower;
    }

    public long getPlayerGold() {
        return playerGold;
    }

    public void setPlayerGold(long playerGold) {
        this.playerGold = playerGold;
    }

    public long getPlayerMoney() {
        return playerMoney;
    }

    public void setPlayerMoney(long playerMoney) {
        this.playerMoney = playerMoney;
    }

    public HashTable[] getFighAttribute() {
        return fighAttribute;
    }

    public void setFighAttribute(HashTable[] fighAttribute) {
        this.fighAttribute = fighAttribute;
    }

    public long getFreeRecruitTime() {
        return freeRecruitTime;
    }

    public void setFreeRecruitTime(long freeRecruitTime) {
        this.freeRecruitTime = freeRecruitTime;
    }

    public int getSurplus() {
        return surplus;
    }

    public void setSurplus(int surplus) {
        this.surplus = surplus;
    }
}
